package mock.servicesdirectory.web.action;

import java.util.logging.Level;
import java.util.logging.Logger;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;



import mock.servicesdirectory.web.model.PremiseList;

import com.opensymphony.xwork2.ActionSupport;

public class PremiseListEditAction extends ActionSupport{
	 private String oper;
	   private String name;
	   private String id;
	   private static final Log    log              = LogFactory.getLog(PremiseListEditAction.class);

	    public String execute() throws Exception
	    {
	        Logger.getLogger("MyactionEdit ").log(Level.INFO, "Editing Action .java Called...");

	        PremiseList cust;
	        if(oper.equalsIgnoreCase("add"))
	        {
	           return SUCCESS;
	        }
	      
	        return NONE;
	    }

	    public String getOper() {
	        return oper;
	    }

	    public void setOper(String oper) {
	        this.oper = oper;
	    }

	   
	    public String getName() {
	        return name;
	    }

	    public String getId() {
	        return id;
	    }

	    public void setId(String id) {
	        this.id = id;
	    }

	    public void setName(String name) {
	        this.name = name;
	    }
}
